<template>
	<view class="">
		<view class="header">
			<view class="basj">
				<image @click="gobacks" src="/static/dazi/bak.png" mode=""></image>
				<text class="title"  v-if='type==0' >隐私政策</text>
				<text class="title"  v-if='type ==1' >服务协议</text>
			</view>
		</view>
		<view class="conshe">
			
			555
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				type:0,//0 隐私政策  1服务协议
			}
		},
		onLoad(e) {
			this.type =e.type
		},
		methods:{
			gobacks() {
			
				// #ifdef H5
				history.back();
				// #endif
			
				// #ifdef APP
				uni.navigateBack()
				// #endif
			
			},
		}
	}
</script>

<style lang="scss">
	.conshe{
		margin: 60rpx 0;
	}
	page {
		padding: 30rpx;
		background-color: #f7eff8;
		overflow: hidden;
		background-image: url('/static/assets7/e9cd3fc4ee4eabc1262262a469ab1c21.png');
		background-size: 100% 100%;
		background-repeat: no-repeat;
		width: 100%;
		overflow-y: auto;
		overflow-x: hidden;
		height: 100%;
	}
	.basj {
		display: flex;
		align-items: center;
		height: 60rpx;
	
		image {
			width: 48rpx;
			height: 48rpx;
			vertical-align: middle;
		}
	
		.title {
			margin-left: 10rpx;
			color: #2A222F;
			font-size: 40rpx;
		}
	}
	.header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		height: 60rpx;
	
		letter-spacing: 2rpx;
		/* 字母间距 */
		font-weight: 600;
		// border: #dddddd solid 1px;
	
		.btn-side {
			position: absolute;
			line-height: 60rpx;
			font-size: 28rpx;
			cursor: pointer;
	
			&.right {
				right: 30rpx;
			}
		}
	}
</style>